<?php 
include_once '../html/admintemplate.php';
?>
<script type="text/javascript" src="../html/jquery.js"></script>
<script type="text/javascript">
function clear_form_elements(ele) 
{
	 $(ele).find(':input').each(function() {
	       switch(this.type) {
	 case 'password':
	case 'select-multiple':
	case 'select-one':
	case 'text':
	case 'textarea':
	 $(this).val('');
	 break;
	case 'checkbox':
	case 'radio':
	this.checked = false;
	   }
	 });
 
}
</script>
<center>
<form name="addoldcc" method="post" action="addoldcc.php" >
<table border="1">
<tr class="classmenu">
<td colspan="4">
Add Old Cc
</td>
</tr>
<tr class="classtopmenu" >
<td colspan="4" id="price" >
Price
<input name="price" type="text" value="Điền Price" class="textinput" onclick="clear_form_elements('#price')" />
<input name="submit" type="submit" value="submit" />
</td>
</tr>
<tr class="classtopmenu">
<td id="ccnumpos">Vị Trí CCnum
<input id="ccnumpos" name="ccnumpos" type="text" class="textinput" value="Điền Vị Trí CC Num" onclick="clear_form_elements('#ccnumpos')" />
</td>
<td id="exmonthpost">Vị Trí Ex Month
<input name="exmonthpost" class="textinput" value="Điền Vị Trí ExMonth" type="text" onclick="clear_form_elements('#exmonthpost')" />
</td>
<td id="exyearpos">Vị Trí Ex Year
<input name="exyearpos" class="textinput" value="Điền Vị Trí ExYear" type="text" onclick="clear_form_elements('#exyearpos')" />
</td>
<td id="ccvpos">Vị Trí CCV
<input name="ccvpos" type="text" class="textinput" value="Điền Vị Trí CCV" onclick="clear_form_elements('#ccvpos')" />
</td>
</tr>
<tr>
<td colspan="4" id="sourecc" >
<center>
<textarea name="sourecc" class="textinput" rows="30" cols="150">Điền Info CC vào đây</textarea></center>
</td>
</tr>
</form>
</table></center>